package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.etone.smartAudit.enums.StateType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: 蒋学伟
 * @create: 2020-07-22 14:45:56
 * @Description ServiceSupport
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName(value = "f_service_expert")
public class ServiceExpert implements Serializable {
    @TableId(type = IdType.AUTO, value = "intId")
    private Integer id;

    /**
     * 名称
     */
    @TableField("vcName")
    private String name;

    /**
     * 申请次数
     */
    @TableField("intApplyCnt")
    private Integer applyCnt;

    /**
     * 排序
     */
    @TableField("intSort")
    private Integer sort;

    /**
     * 有效性
     */
    @TableField("vcState")
    private StateType state;

    /**
     * 说明｜介绍
     */
    @TableField("vcRemark")
    private String remark;

    /**
     * 封面
     */
    @TableField(value = "vcCover", updateStrategy = FieldStrategy.IGNORED)
    private String cover;

    /**
     * 详细说明
     */
    @TableField("vcDetail")
    private String detail;

    /**
     * 附件
     */
    @TableField(value = "vcFiles", updateStrategy = FieldStrategy.IGNORED)
    private String files;
}
